# _*_ coding: UTF-8 _*_
# @Time     : 2021/10/21 11:44
# @Author   : Zheng Luming
# @Site     : http://www.hzdledu.cn/
# @File     : work.py
# @Software : PyCharm

A = True
B = False
print(A and B, end=' ')
print(A or B, end=' ')
print(not A)

A = False
B = True
print(A and B, end=' ')
print(A or B, end=' ')
print(not A)

A = False
B = False
print(A and B, end=' ')
print(A or B, end=' ')
print(not A)

A = True
B = True
print(A and B, end=' ')
print(A or B, end=' ')
print(not A)
